layui.use(['element','testmod'], function () {
    var element = layui.element,
        testmod = layui.testmod;

    console.log(element)
});